package com.seo.textgen.pos;

import com.seo.textgen.pos.tagger.Token;

public class PlaceHolder {

	private GeneratedSentence sentence;

	private String value;

	private Token token;

	public PlaceHolder(GeneratedSentence sentence, String value, Token token) {
		this.sentence = sentence;
		this.value = value;
		this.token = token;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Token getToken() {
		return token;
	}

	public void setToken(Token token) {
		this.token = token;
	}

	public GeneratedSentence getSentence() {
		return sentence;
	}

	public void setSentence(GeneratedSentence sentence) {
		this.sentence = sentence;
	}
	
	@Override
	public String toString() {
		return token.getToken();
	}
}
